c program to find smallest element in an array